﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarriorRush.GameDynamics.Effects
{
    public class Poisoning : GameEffect 
    {
        public Poisoning()
            : base(false)
        {
            Type = EffectType.Poisoned;
        }

        public override int ModifyDamageTaken(int damage)
        {
            damage++;
            return base.ModifyDamageTaken(damage);
        }

        public override GameEffect GetInstance(int power)
        {
            return new Poisoning() { Power = power, Type = Type, IsBoost = IsBoost };
        }

    }
}
